<style>
//#data_table table {border: 1px solid #f3f3f3;-moz-border-radius: 7px;border-radius: 7px;}
#data_table table tbody td{border-bottom: 1px solid #f3f3f3;}
#data_table table td {padding: 2px;}
#data_table thead {background: #7ac5ed;}
#data_table tbody tr:HOVER {background:  #ffffd6}
#data_table input{border: 1px solid #cdcdcd;}
#data_table table b{visibility: hidden; font-size: 12px; font-family: "Helvetica Neue",Arial,sans-sherif;}
#data_table table b:HOVER{text-decoration: underline; cursor: pointer;}
#data_table input:HOVER {border: 1px solid #999999;}
</style>
<button id="add">ADD</button>
<div id="data_table" align="center" >
<table cellspacing="0">
<thead><tr></tr></thead>
<tbody></tbody>
<tfoot><tr></tr></tfoot>
</table>
<div id="editForm"></div>
</div>
<script >
show_config = {
		"tablename" : "questions",
		"table_id" : "id_question",
		"id" : null,
	'fields' : {0:"id_question",1:"question",2:"image_path"} ,
	"fks" :
	{
		0 : { 
			"current_id" : "id_question", 
			"referenced_table" : "reponses", 
			"referenced_column":"reponse",
			"referenced_id":"id_reponse",
			"in_out":"new"
		},
		1 : { 
			"current_id" : "id_competition", 
			"referenced_table" : "competition", 
			"referenced_column":"nom",
			"referenced_id":"id_competition",
			"in_out":"in"
		}
	}
};
var edit_page = "questions.edit.php";
var add_page = "questions.add.php";

</script>
<script src="../js/show.js" ></script>
